package top.huangjiangjun.xmshop

/**
import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
**/

/*FLutter2.2.1以后需要把上面注释的内容修改为下面内容*/

import io.flutter.embedding.android.FlutterFragmentActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterFragmentActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        GeneratedPluginRegistrant.registerWith(flutterEngine)
    }
}